import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import './assets/css/global.css'
import './plugins/element.js'
import './assets/fonts/iconfont.css'
import Notifications from "vue-notification"
// 下面两条导入语句可使element-ui的样式在项目中生效
import 'element-ui/lib/theme-chalk/index.css';
import ElementUI from 'element-ui';

Vue.prototype.$http=axios;
// 配置请求的根路径
axios.defaults.baseURL='http://127.0.0.1:8888/api/private/v1/';
Vue.use(ElementUI);
//Vue.use(Notifications)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
